package day8;

import java.util.Date;

/**
 * @author oldliu
 * @since 1.0
 */
public class Thread3 implements Runnable {
    private String name;
    public Thread3(String n){
        name=n;
    }
    @Override
    public void run() {
        for(int i=1;i<=20;i++){
            System.out.println(this.name+"输出了 "+i+",当前的时间："+new Date());
        }
    }
}
